Ground Reachability and Joinability in Linear Term Rewriting Systems are Fixed Parameter Tractable with Respect to Depth

نویسنده

  • Mateus de Oliveira Oliveira
چکیده

The ground term reachability problem consists in determining whether a given variable-free term t can be transformed into a given variable-free term t′ by the application of rules from a term rewriting system R. The joinability problem, on the other hand, consists in determining whether there exists a variable-free term t′′ which is reachable both from t and from t′. Both problems have proven to be of fundamental importance for several subfields of computer science. Nevertheless, these problems are undecidable even when restricted to linear term rewriting systems. In this work, we approach reachability and joinability in linear term rewriting systems from the perspective of parameterized complexity theory, and show that these problems are fixed parameter tractable with respect to the depth of derivations. More precisely, we consider a notion of parallel rewriting, in which an unbounded number of rules can be applied simultaneously to a term as long as these rules do not interfere with each other. A term t1 can reach a term t2 in depth d if t2 can be obtained from t1 by the application of d parallel rewriting steps. Our main result states that for some function f(R, d), and for any linear term rewriting system R, one can determine in time f(R, d) · |t1| · |t2| whether a ground term t2 can be reached from a ground term t1 in depth at most d by the application of rules from R. Additionally, one can determine in time f(R, d)2 · |t1| · |t2| whether there exists a ground term u, such that u can be reached from both t1 and t2 in depth at most d. Our algorithms improve exponentially on exhaustive search, which terminates in time 2|t1|·2 · |t2|, and can be applied with regard to any linear term rewriting system, irrespective of whether the rewriting system in question is terminating or confluent. 1998 ACM Subject Classification F.4.2 Grammars and Other Rewriting Systems, F.2 Analysis of Algorithms and Problem Complexity

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Confluence of Shallow Right-Linear Rewrite Systems

We show that confluence of shallow and right-linear term rewriting systems is decidable. This class of rewriting system is expressive enough to include nontrivial nonground rules such as commutativity, identity, and idempotence. Our proof uses the fact that this class of rewrite systems is known to be regularity-preserving, which implies that its reachability and joinability problems are decida...

متن کامل

Decidable/Undecidable Properties of Conditional Term Rewriting Systems

Decidability/undecidability of properties in subclasses of conditional term rewriting systems (CTRSs, for short) of natural, join, and oriented types are studied. The properties focused are convertibility, reachability, joinability, con uence, and termination. In particular, it is shown that (1) all of the properties listed above are undecidable for left-linear right-ground CTRSs of each types ...

متن کامل

Scheduling support hardware for multiprocessor system and its evaluations

The reachability and related decision problems for monadic and semi This paper shows that reachability is undecidable for confluent monadic and semi-constructor TRSs, and that joinability and confluence are undecidable for monadic and semi-constructor TRSs. Here, a TRS is monadic if the height of the right-hand side of each rewrite rule is at most 1, and is semi-constructor if all defined symbo...

متن کامل

Rewriting preserving recognizability of finite tree languages

We show that left-linear generalized semi-monadic TRSs effectively preserving recognizability of finite tree languages (are EPRF-TRSs). We show that reachability, joinability, and local confluence are decidable for EPRFTRSs.

متن کامل

Uniqueness of Normal Forms is Decidable for Shallow Term Rewrite Systems

Uniqueness of normal forms (UN=) is an important property of term rewrite systems. UN= is decidable for ground (i.e., variable-free) systems and undecidable in general. Recently it was shown to be decidable for linear, shallow systems. We generalize this previous result and show that this property is decidable for shallow rewrite systems, in contrast to confluence, reachability and other proper...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2016